package com.pattern.objectcreator.factorymethod;

/**
 * @author yangguanzan
 * @date 3/16/22
 * @description
 */
public class BlackHumanFactory implements AbstractHumanFactory {

    /**
     * 造人
     *
     * @return 具体的人类
     */
    @Override
    public BaseHuman createHuman() {
        return new BlackHuman();
    }
}
